package itsm.isperp.module.service.task;

import java.util.List;

import itsm.isperp.framework.service.BaseService;
import itsm.isperp.module.entity.task.TskInspectCiPlan;
import itsm.isperp.module.repository.task.TskInspectCiPlanMapper;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 服务
 * 
 * @author lizx
 * @date 2015-05-09 22:48
 */
@Service
public class TskInspectCiPlanService extends BaseService<TskInspectCiPlan> {

	@Autowired
	protected TskInspectCiPlanMapper tskInsecptCiPlanMapper;

	@Override
	public TskInspectCiPlanMapper getRepository() {
		return this.tskInsecptCiPlanMapper;
	}

	public List<TskInspectCiPlan> findByPlanId(String planId) {

		return tskInsecptCiPlanMapper.findByPlanId(planId);
	}

}
